home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Java for 3D & VRML Worlds
/
Java for 3d and VRML Worlds.iso
/
vs
/
browser
/
cpn11b1.exe
/
DATA.Z
/
ufo.wrl
< prev
next >
Wrap
Text File
|
1996-09-25
|
771b
|
39 lines
#VRML V2.0 utf8
#
# This file is conveted from VRML 1.0 to Moving Worlds.
# Copyright(C) 1996 Sony Corporation. All rights reserved.
DEF UFO Transform {
children [
DEF TOUCH_SENSOR TouchSensor {}
#### BUGGY BODY ####
Inline {
url "../models/ufo_body.wrl"
}
]
}
DEF SCRIPT Script {
eventIn SFBool clicked
eventIn SFTime move
eventOut SFBool setTimerEnabled
url "../scripts/ufo.class"
eventOut SFVec3f ufoTr
}
DEF TIME TimeSensor {
stopTime -1
loop TRUE
enabled FALSE
cycleInterval 0.2
}
ROUTE TOUCH_SENSOR.isActive TO SCRIPT.clicked
ROUTE TIME.cycleTime TO SCRIPT.move
ROUTE SCRIPT.setTimerEnabled TO TIME.set_enabled
ROUTE SCRIPT.ufoTr TO UFO.set_translation